VariationAxisValue

data class VariationAxisValue(val tag: String, val value: Float)

A value for one variation axis of a variable font, such as wdth or opsz.

Constructors

Link copied to clipboard
constructor(tag: String, value: Float)

Properties

Link copied to clipboard
val tag: String

The four-character OpenType axis tag, such as wght, wdth or opsz.

Link copied to clipboard

The axis value in the units of the font's fvar table. The font clamps it to the range of the axis.